/*
 * IcmpSessionManager.h
 *
 *  Created on: 15/08/2011
 *      Author: george
 */

#ifndef ICMPSESSIONMANAGER_H_
#define ICMPSESSIONMANAGER_H_

#include <vector>
#include "icmpsession.h"

class IcmpSessionManager {
public:

//	Um vetor de sessoes icmp
	std::vector<IcmpSession*> session;

	bool add(struct in_addr* src, struct in_addr *dst,  icmp_hdr_t *p);
	IcmpSession* getSession(struct in_addr *src,struct in_addr *dst, u_int16_t *id);

	IcmpSessionManager();
	virtual ~IcmpSessionManager();
};

#endif /* ICMPSESSIONMANAGER_H_ */
